using System;
using UnityEngine;

namespace PKGames.Localization
{
	public class LocalizationCollection : ScriptableObject
	{
		[Serializable]
		public class LanguageEntry
		{
			[SerializeField]
			private string _language;

			[SerializeField]
			private TextAsset _asset;

			public string Language => _language;

			public TextAsset Asset => _asset;
		}

		[SerializeField]
		private LanguageEntry[] _data;

		public LanguageEntry[] Data => _data;
	}
}
